package com.lagou.dao;

import com.lagou.domain.Employee;

import java.util.List;

/*
实现员工的查询和新增操作
* */
public interface EmployeeDao {
    //员工的新增
    public void saveEmployee(Employee employee);

    //员工的查询
    public Employee findById(Integer id);

    //查询所有员工
    public List<Employee> findAll();
}
